package com.jewel.service;

import com.jewel.pojo.TabUser;

/**
 * @Description: 登录模块业务类
 * 
 * @author DELL
 *
 * @since 2017.04.27
 */
public interface LoginService {


	/**
	 * @Title: loginIsSuccess
	 * @Description：登录成功
	 * 
	 * @param username， password
	 * @return boolean
	 * @throws：
	 * 
	 */
    public boolean loginIsSuccess(String username, String password);

    
    /**
	 * @Title: getUserByTelephone
	 * @Description：通过电话获取用户
	 * 
	 * @param telephone
	 * @return TabUser
	 * @throws：
	 * 
	 */
    public TabUser getUserByTelephone(String telephone);
}
